<{include file="db:`$mydirname`_mobile_header.html"}>


<h3><{$smarty.const._MD_REQUESTMOD}></h3>

<div style="border:1px solid #999;padding:4px;margin:16px 0;">
  <b>Link ID</b> <{$link.lid}><br />

  <h4><{$link.title}></h4>

  <{if $link.url}>
    <b>[PC]</b><br />
    <{if $link.url|strlen > 30}>
      <{$link.url|substr:0:30}>
      <{$link.url|substr:30:60}>
      <{$link.url|substr:60:90}>
    <{else}>
      <{$link.url}>
    <{/if}>
    <br />
  <{/if}>
  <{if $link.murl}>
    <b>[Mobile]</b><br />
    <{if $link.murl|strlen > 30}>
      <{$link.murl|substr:0:30}>
      <{$link.murl|substr:30:60}>
      <{$link.murl|substr:60:90}>
    <{else}>
      <{$link.url}>
    <{/if}>
    <br />
  <{/if}>

  <br />
  <b><{$smarty.const._MD_CATEGORY}></b><br />
  <ul style="margin:16px 0;list-style-position:outside;padding:0 0 0 16px;">
    <{foreach item=cat from=$link.category}>
      <li style="margin:0;"><{$cat}></li>
    <{/foreach}>
  </ul>

  <{if $link.description}>
    <b><{$smarty.const._MD_DESCRIPTIONC}></b><br />
    <{$link.description}>
  <{/if}>
</div>

<form action="<{my_make_uri option=$uri_options mydirname=$mydirname controller=request method=post}>" method="post">
  <{$smarty.const._MD_REQUESTMOD}><br />
  <textarea name="description" cols="24" rows="3"></textarea><br />
  <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" />
  <input type="hidden" name="lid" value="<{$link.lid}>">
  <{$gticket}>
</form>

<{include file="db:`$mydirname`_mobile_footer.html"}>
